#include <stdio.h>
 
int main()
{
    int arr[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};//整型数组
    int i = 0;
    while( i < 10 )
    {
        printf("arr[%d] = %d \n",i , arr[i]);
        i++;
    }
    return 0;
}